import java.awt.*;
public class Stone extends Object {//石块
    Stone(){
        this.x=(int)(Math.random()*500);
        this.y=(int)(Math.random()*450+300);
        this.width=71;
        this.height=71;
        this.flag=false;
        this.m = 40;
        this.money=150;
        this.type=2;
        this.img=Toolkit.getDefaultToolkit().getImage("img/stone.png");
    }
}
